﻿using Volo.Abp.DependencyInjection;
using YAPACS.Workflows;

namespace YAPACS.RisServer.Workflows.Technician;

public class GetRecheckView : WorkflowBase, IGetRecheckView, ITransientDependency
{
    protected override async Task<WorkflowOutput> InvokeCoreAsync(WorkflowInput input)
    {
        WorkflowOutput workflowOutput = new WorkflowOutput
        {
            Success = true,
            View = await Extensions.GetResourceStringAsync("Resources.Technician.recheck-view.json"),
            NextAction = "技师-重新检查",
            ViewTitle = "重新检查"
        };
        return workflowOutput;
    }
}
